import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import toast from 'components/common/toast'
import FastClick from 'fastclick'
import VueLazyload from "vue-lazyload";

Vue.config.productionTip = false
Vue.prototype.$bus = new Vue()
//安装toast插件
Vue.use(toast)
//使用图片懒加载
Vue.use(VueLazyload)

//解决移动端300ms延迟
FastClick.attach(document.body)

new Vue({
  router,store,
  render: function (h) { return h(App) },
}).$mount('#app')
